home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
LIST&DIA
/
MAIN.C
< prev
Wrap
C/C++ Source or Header
|
1990-05-19
|
502b
|
38 lines
#include "list&dialog.h"
/***
**
** The main "do nothing"
** Bernie Wieser '90
**
** Purpose
** Initialize all needed stuff for list manager and dialog manager
**
***/
main()
{
MaxApplZone();
/* init macintosh */
FlushEvents(everyEvent,0);
InitGraf(&thePort);
InitFonts();
InitWindows();
InitMenus();
TEInit();
InitDialogs(NIL);
/* other set ups */
InitCursor();
/* my dialog test */
SetPort(thePort);
do_dialog(thePort);
/* clean up and (common) exit */
ExitToShell();
}